package com.pengshun.modules.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ps_freight_settlement_price
 * @author 
 */
@Data
@Entity
@Table(name = "ps_freight_settlement_price")
public class FreightSettlementPrice implements Serializable {
    /**
     * 结算调价id
     */

    @Id
    @ApiModelProperty(value = "主键")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long freightSettlementPriceId;

    /**
     * 原来煤价
     */
    private BigDecimal oldPrice;

    /**
     * 现在煤价
     */
    private BigDecimal newPrice;

    /**
     * 原来运价
     */
    private BigDecimal oldFreight;

    /**
     * 现在运价
     */
    private BigDecimal newFreight;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 结算id
     */
    private Long freightSettlementId;

    private static final long serialVersionUID = 1L;
}